﻿@model SoftHotel.Models.DocumentoCompra

@{
    ViewBag.Title = "Agregar";
}

@using (Html.BeginForm())
{   
     @Html.ValidationSummary(true)
<h2>Agregar</h2>

<br />
<br />
<table id="MainContent_Table1" style="border-color: white; width: 900px; margin-bottom: 0px;" border="0" rules="none">
    <tr>
        <td style="font-weight: bold; width: 110px;">Orden de Compra</td>
        <td style="width: 451px;">
        @{
            
            @Html.DropDownListFor(modelItem => Model.idOC, (SelectList)ViewBag.OCs, "Seleccione")
            @Html.ValidationMessageFor(modelItem => Model.idOC)
        }
        </td>
        <td style="font-weight: bold;">Tipo Documento: </td>
        <td>
         @{
            
            @Html.DropDownListFor(modelItem => Model.tipo, (SelectListItem[])ViewBag.TipoDoc, "Seleccione")
            @Html.ValidationMessageFor(modelItem => Model.tipo)
        }
        </td>
    </tr>
    <tr>
        <td style="font-weight: bold;">Hotel: </td>
        <td style="width: 450px;">
        </td>
        <td style="font-weight: bold;">Forma de Pago:</td>
        <td>
        </td>
    </tr>
    <tr>
        <td style="font-weight: bold;">Fecha Emision</td>
        <td>
        </td>
        <td style="font-weight: bold;"> Moneda</td>
        <td>
 
        </td>
    </tr>
        <tr id="MainContent_TableRow1">
        <td style="font-weight: bold;"> </td>
        <td id="MainContent_TableCell3"> </td>
        <td style="font-weight: bold;"></td>
        <td></td>
    </tr>
</table>
<table id="MainContent_Table1" style="border-color: white; margin-bottom: 0px; width: 896px; height: 65px;" border="0" rules="none">
    <tr>
        <td style="font-weight: bold; width: 110px;">Proveedor</td>
        <td style="width: 451px;"></td>
        <td style="width: 121px;"><span style="font-weight: bold;">Impuesto</span></td>
        <td style="width: 200px;"></td>
    </tr>
    <tr>
        <td style="font-weight: bold; width: 110px;">Ruc</td>
        <td style="width: 451px;"></td>
        <td style="width: 121px;"><span style="font-weight: bold;">Total</span></td>
        <td style="width: 200px;"></td>
    </tr>
    <tr>
        <td style="font-weight: bold; width: 110px;">Direccion</td>
        <td style="width: 451px;"></td>
        <td style="width: 121px;"><span style="font-weight: bold;"></span></td>
        <td style="width: 200px;"></td>
    </tr>
</table>
<br />
<font size="3">
ARTICULOS
<br />
<br />
</font> 
    
<br />
<table id="MainContent_Table2" style="border-color: Black; width: 900px; margin-bottom: 0px;" border="1" rules="all">
    <tr>
        <td style="font-weight: bold; width: 110px;" align="center">Articulo</td>
        <td style="font-weight: bold; width: 350px;" align="center">Descripcion</td>
        <td style="font-weight: bold; width: 150px;" align="center">Costo Unitario (S./)</td>
        <td style="font-weight: bold; width: 110px;" align="center">Cantidad</td>
        <td style="font-weight: bold; width: 110px;" align="center">Total(S/.)</td>
    </tr>  

    
    
</table>
<br />

<br />
<center>
    <input value="Registrar" type="submit" name = "button" />
    <input value="Cancelar" type="submit" name = "button" />
</center> 
<br />
<br />
}